package com.whut.work.comment.service;

import com.whut.work.base.model.Page;
import com.whut.work.comment.model.Comment;

import java.util.Map;

/**
 * Created by zouyao on 2017/3/16.
 */
public interface ICommentService {

    //获取学生评价记录(或自我评价)
    public Map<String, Object> getCommentRecordByUserId(Integer studentId, Integer teacherId) throws Exception;

    //学生对教师进行评价
    public Map<String, Object> setCommentForTeacher(String comment,Integer studentId,Integer teacherId) throws Exception;

    //教师查看学生对自己的评价
    public Page<Comment> getCommentListOfOneTeacher(Integer currentPage, Integer pageSize, Integer id) throws Exception;

    /*//获取领导对自己的评价
    public Map<String, Object> getCommentRecordByUserId(Integer studentId, Integer teacherId) throws Exception;*/

}
